<template>
  <button @click="notifyParent">开火</button>
</template>
<script>
  export default {
    methods: {
        notifyParent(){
            this.$emit('custom-event', 'Da da da 蓝火加特林...')
        }
    }
  }
</script>
